<% #endcoding:utf-8 %>
<div class="panel">
  <div class="panel-heading">
    <h3 class="demand-top">小贴士</h3>
  </div>
  <div class="panel-body">
    <p>
      <%=render partial: "shared/tibs"%>
    </p>
  </div>
</div>

<div class="panel">
  <div class="panel-heading"><h3 class="demand-top">热门标签</h3></div>
  <div class="panel-body">
      <%if hot_tags.any?%>
      <%hot_tags.each do |t|%>
          <%=link_to t.name,tag_path(t),:style=>'font-size:'+rand(8...24).to_s+'px'%>
      <%end%>
      <%end%>
  </div>
</div>

<div class="panel">
  <div class="panel-body">
    <%=link_to "发布需求",new_demand_path,:class => 'btn btn-warning btn-block'%>
    <%=link_to "我要提问",questions_new_path,:class => 'btn btn-warning btn-block'%>
  </div>
</div>


</div>